'use strict';
module.exports = app => {
  const { BIGINT, STRING, TEXT, DATE, JSON } = app.Sequelize;
  return app.model.define('tort_words', {
    tort_word_id: {
      type: BIGINT,
      field: 'id',
      primaryKey: true,
      autoIncrement: true,
    },
    word: TEXT,
    source: STRING,
    hoder: TEXT,
    nice_cl: JSON,
    status: STRING,
    app_data: DATE,
    last_sync_time: DATE,
    last_crawler_time: DATE,
  }, {
    underscored: true,
    paranoid: true,
  });
};
